<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="utf-8">
    <title>图书后台管理系统</title>
    <link rel="stylesheet" type="text/css" th:href="@{/static/css/dmaku.css}" tppabs="/static/css/dmaku.css" />
    <script th:src="@{/static/js/jquery.js}"></script>
    <script th:src="@{/static/js/verificationNumbers.js}" tppabs="/static/js/verificationNumbers.js"></script>
    <script th:src="@{/static/js/Particleground.js}" tppabs="/static/js/Particleground.js"></script>
</head>
<body>
<dl class="admin_login">
    <dt>
        <strong>图书后台管理系统</strong>
        <em>Management System</em>
    </dt>
    <form action="admin" method="post">
        <dd class="user_icon">
            <input type="text" placeholder="账号" class="login_txtbx" name="username"/>
        </dd>
        <dd class="pwd_icon">
            <input type="password" placeholder="密码" class="login_txtbx" name="password"/>
        </dd>
        <!-- <dd class="val_icon">
            <div class="checkcode">
                <input type="text" id="J_codetext" placeholder="验证码" maxlength="4" class="login_txtbx">
                <canvas class="J_codeimg" id="myCanvas" onclick="createCode()">对不起，您的浏览器不支持canvas，请下载最新版浏览器!</canvas>
            </div>
            <input type="button" value="验证码核验" class="ver_btn" onClick="validate();">
        </dd> -->
        <dd>
            <input type="submit" value="立即登陆" class="submit_btn"/>
        </dd>
    </form>
</dl>
<script>
    $(document).ready(function() {
        //粒子背景特效
        $('body').particleground({
            dotColor: '#5cbdaa',
            lineColor: '#5cbdaa'
        });
        //验证码
        createCode();
    });
</script>
</body>
</html>
